

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Create Element From Document [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Linked Document,Linked Document Create Element From,Linked Document Create Diagram From,Create,Create Element From Linked Document,Create Diagram From Linked Document,Element,Element Create From Linked Document,Diagram,Diagram Create From Linked Document">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Create Element From Document</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="hyperlink_from_linked_document.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="deletereplacelinked.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">Using the </span><span class="f_UIControl">Linked Document Editor</span><span class="f_BodyText">, you can create document-specific elements and diagrams in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">, with hyperlinks from the document to the created item. When you click on the hyperlink, the element or diagram is highlighted in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">. The element or diagram is created in the same package as the element for which the linked document was created.</span></p>
<p class="p_BodyText"><span class="f_BodyText">You can create and link to any type of element or diagram, but the facility has specific options for the following element types:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1"><a href="class.htm">Class</a></span></li>
<li><span class="f_Bulletlist1"><a href="requirements.htm">Requirement</a></span></li>
<li><span class="f_Bulletlist1"><a href="o1478.htm">Issue</a>.</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">You can create the same arrangement with </span><span class="f_BodyText" style="font-style: italic;">existing</span><span class="f_BodyText"> elements, diagrams and packages by dragging them from the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText"> into the text of the document, creating a <a href="hyperlink_from_linked_document.htm">hyperlink</a> with the item name as the text.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Create Item</span></p>
<p class="p_BodyText"><span class="f_BodyText">To create an element or diagram in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">, whilst in a linked document, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Open the linked document, either from a <a href="using_document_artifacts.htm">Document Artifact</a> element or through the <a href="linking_document_to_other_uml_.htm">context menu</a> for an existing element (</span><span class="f_NumberedList">Corporate, Business and Software Engineering, System Engineering and Ultimate editions</span><span class="f_NumberedList">).</span></li>
<li value=2><span class="f_NumberedList">Enter some text, including appropriate text to act as the link (such as the element or diagram name).</span></li>
<li value=3><span class="f_NumberedList">Highlight the appropriate text and right-click on it. The editor context menu displays.</span></li>
<li value=4><span class="f_NumberedList">Select the </span><span class="f_MenuKeyField">UML</span><span class="f_NumberedList"> menu option, and the required submenu option.</span></li>
<li value=5><span class="f_NumberedList">If you select the:</span></li>
</ol>
<ul style="text-indent: 0px; margin-left: 65px; list-style-position: outside;">
<li><span class="f_MenuKeyField">Add new Class</span><span class="f_Bulletlist3">, </span><span class="f_MenuKeyField">Add new Requirement</span><span class="f_Bulletlist3"> or </span><span class="f_MenuKeyField">Add new Issue</span><span class="f_Bulletlist3"> option, the corresponding element is immediately created in the </span><span class="f_UIControl">Project Browser</span><span class="f_Bulletlist3">.</span></li>
<li><span class="f_MenuKeyField">Add Element</span><span class="f_Bulletlist3"> option, the </span><span class="f_UIControl"><a href="newelements.htm">New Element dialog</a></span><span class="f_Bulletlist3"> displays; specify the element type and - if appropriate - stereotype, and click on the </span><span class="f_MenuKeyField">OK</span><span class="f_Bulletlist3"> button.</span></li>
<li><span class="f_MenuKeyField">Add Diagram</span><span class="f_Bulletlist3"> option, the </span><span class="f_UIControl"><a href="newdiagrams.htm">New Diagram</a></span><span class="f_Bulletlist3"> dialog displays; specify the diagram type and click on the </span><span class="f_MenuKeyField">OK</span><span class="f_Bulletlist3"> button.</span></li>
</ul>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">The highlighted text is now a hyperlink. Click on the link to highlight the new element or diagram in the </span><span class="f_UIControl">Project Browser</span><span class="f_NumberedList">.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">You can now edit or expand the element or diagram as required.</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
